<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			var xhr=new XMLHttpRequest;
			 
			 xhr.open("GET","http://localhost:8888/api/articleList?date=2021-05-21");
			 
			 xhr.onreadystatechange=function(){
				 if(xhr.readyState===4){
					 if(xhr.status>=200&&xhr.status<400){
						 console.log(xhr.response);
					 }
				 }
			 }
			 
			 xhr.send(null);
		</script>
	</body>
</html>
